package com.example.provider.controller;


import org.apache.tomcat.jni.Time;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/provider")
public class TestController {

    @GetMapping("/test")
    public String test(){
        Time.sleep(10000);
        return "服务者2号提供的信息：xxx";
    }
}
